package com.lyw.springCloud.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Auther liyawei
 * @Date 2022/5/21 11:12
 */
@Data
@TableName("t_storage")
public class Storage {

    @TableId(type = IdType.AUTO)
    private Long id;

    // 产品id
    private Long productId;

    //总库存
    private Integer total;

    //已用库存
    private Integer used;

    //剩余库存
    private Integer residue;
}
